<?php
	class trangthaibs
	{
		public $MaTrangThai = 0;
		public $TenTrangThai = "";
		public $MoTa = "";
		
		public function Add()
		{
			$db = new trangthaidb();
			return $db->Add($this->TenTrangThai, $this->MoTa);
		}
		
		public function Delete()
		{
			$db = new trangthaidb();
			return $db->Delete($this->MaTrangThai);
		}
		
		public function Update()
		{
			$db = new trangthaidb();
			return $db->Update($this->MaTrangThai, $this->TenTrangThai, $this->MoTa);
		}
	
		public function GetList()
		{
			$db = new trangthaidb();
			return $db->GetList($this->MaTrangThai, $this->TenTrangThai, $this->MoTa);
		}
		
	}
?>